package com.zb.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zb.result.PageUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author WEN
 * @Date 2024/1/25 0025
 **/
@Data
@ApiModel("工单归档列表搜索条件")
public class OrderArchivedListSearchVo extends PageUtil {
    @ApiModelProperty(value = "状态：4-已完成，5-已取消")
    private Integer status;

    @ApiModelProperty(value = "日期类型：1-报单日期，2-归档日期")
    private Integer dateType;

    @ApiModelProperty(value = "日期参数类型：1-时间区间，2-今天，3-本周，4-本月，5-过去三个月")
    private Integer dateValType;

    @ApiModelProperty(value = "报单/归档开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date orderStartTime;

    @ApiModelProperty(value = "报单/归档结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date orderEndTime;

    @ApiModelProperty(value = "工单单号")
    private String workNo;

    @ApiModelProperty(value = "客户关键词：客户名称/手机号/地址")
    private String userKeyword;

    @ApiModelProperty(value = "排序", hidden = true)
    private String orderBy;
}
